export const tableComponentConfig = {
  removeButton: () =>
    import('@/common/views/baseComponent/tableComp/removeButton.vue'),
};

export const tableRenderConfig = {
  1: {
    title: '执行状态',
    dataIndex: '1',
    width: 120,
  },
  2: {
    title: '发票编号',
    dataIndex: 'invoiceNo',
    width: 120,
  },
  3: {
    title: '发票代码',
    dataIndex: 'invoiceCode',
    width: 120,
  },
  4: {
    title: '数据来源',
    dataIndex: 'dataSource',
    width: 120,
  },
  5: {
    title: '发票类型',
    dataIndex: 'invoiceType',
    width: 120,
  },
  6: {
    title: '币种',
    dataIndex: 'currencyType',
    width: 120,
  },
  7: {
    title: '税率(%)',
    dataIndex: 'taxRate',
    width: 120,
  },
  8: {
    title: '代理费',
    dataIndex: 'agencyFee',
    width: 120,
  },
  9: {
    title: '代理费税额',
    dataIndex: 'agencyFeeTax',
    width: 120,
  },
  10: {
    title: '运杂费',
    dataIndex: 'transportSundryMoney',
    width: 120,
  },
  11: {
    title: '运杂费税额',
    dataIndex: 'transportSundryMoneyTax',
    width: 150,
  },
  12: {
    title: '货物发票总金额(含税)',
    dataIndex: 'commodityBillTaxAmount',
    width: 180,
  },
  13: {
    title: '货物发票总金额(不含税)',
    dataIndex: 'commodityBillAmount',
    width: 220,
  },
  14: {
    title: '货物发票总税额',
    dataIndex: 'commodityBillTaxPrice',
    width: 140,
  },
  15: {
    title: '发票总金额(本币含税)',
    dataIndex: 'invoiceTaxAmount',
    width: 180,
  },
  16: {
    title: '发票总金额(本币不含税)',
    dataIndex: 'invoiceAmount',
    width: 240,
  },
  17: {
    title: '发票总税额',
    dataIndex: 'invoiceTaxPrice',
    width: 150,
  },
  18: {
    title: '开票日期',
    dataIndex: 'invoiceDate',
    width: 150,
  },
  19: {
    title: '供应商编码',
    dataIndex: 'supplierCode',
    width: 240,
  },
  20: {
    title: '供应商名称',
    dataIndex: 'supplierName',
    width: 180,
  },
  21: {
    title: '供应商开户行名称',
    dataIndex: 'supplierBack',
    width: 180,
  },
  22: {
    title: '供应商银行账号',
    dataIndex: 'accountNo',
    width: 140,
  },
  23: {
    title: '编制人',
    dataIndex: 'operatorUserName',
    width: 120,
  },
  24: {
    title: '编制人部门',
    dataIndex: 'operatorUserDeptName',
    width: 120,
  },
  25: {
    title: '编制日期',
    dataIndex: 'operatorDate',
    width: 120,
  },
  39: {
    title: '备注',
    dataIndex: 'note',
    width: 120,
  },
  26: {
    title: '附件',
    dataIndex: '26',
    width: 120,
  },
  27: {
    title: '财务凭证',
    dataIndex: 'financeCode',
    width: 120,
  },
  28: {
    title: '差异',
    dataIndex: '28',
    width: 120,
  },
  29: {
    title: '密级',
    dataIndex: 'secretLevel',
    width: 120,
  },
  30: {
    title: '单据来源',
    dataIndex: '30',
    width: 120,
  },
  54: {
    title: '操作',
    slotName: 'optional',
    width: 140,
    fixed: 'right',
  },
};
